#ifndef ITEM_ENUM_H
#define ITEM_ENUM_H


#include<QGraphicsItem>

enum ItemType{
    Type_NodeItem = QGraphicsItem::UserType + 10,
    Type_NodeSocket = QGraphicsItem::UserType + 2,
    Type_NodeEdge = QGraphicsItem::UserType + 3,

    Type_NodeGraphics = QGraphicsItem::UserType + 4,

    Type_NodeItemNumber = QGraphicsItem::UserType + 11,
    Type_NodeItemAdd = QGraphicsItem::UserType + 12,
    Type_NodeItemSub = QGraphicsItem::UserType + 13,
    Type_NodeItemMul = QGraphicsItem::UserType + 14,
    Type_NodeItemDiv = QGraphicsItem::UserType + 15,
    Type_NodeItemOutput = QGraphicsItem::UserType + 16,

};

enum NodeType{
    Node_Output =0,
    Node_Number =1
};

struct NumberData{
    double data[2]={0};
    int data_length=0;
};

#endif // ITEM_ENUM_H
